package top.withu.gaof.freehope.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Gaofan
 * @date 2018年12月25日 上午11:11:02
 * @describe 加载七牛云相关配置
 */
@Component
@ConfigurationProperties(prefix = "fileConstant")
public class FileConstant {

	private String accessKey;

	private String secretKey;

	private String bucketTest;

	private String viewUrl;

	public String getAccessKey() {
		return accessKey;
	}

	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public String getBucketTest() {
		return bucketTest;
	}

	public void setBucketTest(String bucketTest) {
		this.bucketTest = bucketTest;
	}

	public String getViewUrl() {
		return viewUrl;
	}

	public void setViewUrl(String viewUrl) {
		this.viewUrl = viewUrl;
	}

}
